using FluentNHibernate.Mapping;

namespace TaskKernel.Domain.Nhibernate.Mappings
{
    public class InvisibleSystemMessageMap : SubclassMap<InvisibleSystemMessage>
    {
        public InvisibleSystemMessageMap()
        {
            Table("task_Comments");
            DiscriminatorValue((int)HistoryEntryType.InvisibleSystemMessage);
            Map(x => x.Comment, "Comment");
        }
    }
}